]> dgit.raspbian.org Git - gnome-shell.git/commit
overview: Fix delayed grab when entering via gesture
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 14 Mar 2026 18:42:18 +0000 (19:42 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 14 Mar 2026 18:42:58 +0000 (19:42 +0100)
commit9877a6ae87c6a73176203d879cb4bb80478d1826
tree18dc072214119d87eaa73134cd43f5035f98bb28
parent8e0f850edc03ada8f79ef68412eabb05c5f76d02
overview: Fix delayed grab when entering via gesture

When showing the overview in response to a gesture update, we
set the corresponding overview properties first before syncing
the grab.

However as we don't sync the grab while the overview is animating,
we currently end up only taking the grab once the animation is complete.

This is unintentional and messes with the expected keyboard focus,
so only mark the animation as in progress after syncing the grab.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8967
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4128>
js/ui/overview.js